package com.hzdp.web.action.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class MobileRegexValidator {

	/**
	 * 先简单地做1开头的11位数字校验
	 */
	private static final Pattern pattern = Pattern.compile("^1\\d{10}");

	public static boolean valid(String mobile) {
		Matcher matcher = pattern.matcher(mobile);
		return matcher.matches();
	}

}
